home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / unzip42.zip / ATARI.ZIP / MAKEFILE.ST < prev    next >
Text File  |  1992-02-10  |  1KB  |  56 lines

  1. #  Makefile.st    Makefile for UnZip 4.0,
  2. #  using Turbo C 2.0 for the Atari ST and
  3. #  make from the Mark Williams C 3.9 (sorry for that mixture)
  4. #
  5.  
  6. # UPPERCASE file names facilitate TD's understanding of modules.
  7. .SUFFIXES: .o .O .c .C .s
  8.  
  9. TCHOME    = E:\tc
  10.  
  11. #####################
  12. # MACRO DEFINITIONS #
  13. #####################
  14.  
  15. CC    = tcc
  16. #CFLAGS    = -DATARI_ST=1 -Y -I=$(TCHOME)\include
  17. CFLAGS    = -DATARI_ST=1 -I=$(TCHOME)\include
  18. #LFLAGS    = -L -Y
  19. LFLAGS    =
  20. LIB    = $(TCHOME)\lib
  21. LD    = tlink
  22.  
  23. OBJS = unzip.o file_io.o mapname.o match.o misc.o\
  24.        unimplod.o unreduce.o unshrink.o
  25.  
  26.  
  27. ###############################################
  28. # BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  29. ###############################################
  30.  
  31. ALL    : unzip.prg
  32.     echo done
  33.  
  34. unzip.o:      unzip.c unzip.h
  35.  
  36. file_io.o:    file_io.c unzip.h
  37.  
  38. mapname.o:    mapname.c unzip.h
  39.  
  40. match.o:      match.c unzip.h
  41.  
  42. misc.o:       misc.c unzip.h
  43.  
  44. unimplod.o:   unimplod.c unzip.h
  45.  
  46. unreduce.o:   unreduce.c unzip.h
  47.  
  48. unshrink.o:   unshrink.c unzip.h
  49.  
  50. unzip.prg:     $(OBJS)
  51.     tlink -O=$@ $(LFLAGS) -S=8192 -C=unzip.lnk
  52.  
  53. .c.o:
  54.     tcc $(CFLAGS) $<
  55.  
  56.